package com.yiwei.zxp.api.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class GoodBean extends ResponModel {

    public List<ContentBean> datas;
    private double allMoney;
    private int allCount;
    private boolean isAllSelect;

    public boolean isAllSelect() {
        return isAllSelect;
    }

    public void setAllSelect(boolean allSelect) {
        isAllSelect = allSelect;
    }

    public double getAllMoney() {
        return allMoney;
    }

    public void setAllMoney(double allMoney) {
        this.allMoney = allMoney;
    }

    public int getAllCount() {
        return allCount;
    }

    public void setAllCount(int allCount) {
        this.allCount = allCount;
    }

    public List<ContentBean> getContent() {
        return datas;
    }

    public void setContent(List<ContentBean> content) {
        this.datas = content;
    }

    public static class ContentBean {
        //        private String id;
//        private String address;
        private boolean isSelected;
        public boolean isOneSelect;
        public ShopInfoBean shop_info;
        public List<GoodDetailBean> items;


        public boolean isSelected() {
            return isSelected;
        }

        public void setIsOneSelect(boolean isOneSelect) {
            this.isOneSelect = isOneSelect;
        }

        public void setIsSelected(boolean isSelected) {
            this.isSelected = isSelected;
        }

        public List<GoodDetailBean> getGoodDetail() {
            return items;
        }

        public void setGoodDetail(List<GoodDetailBean> goodDetail) {
            this.items = goodDetail;
        }


        public static class ShopInfoBean {
            /**
             * shop_id : 113
             * shop_name :
             */

            public String shop_id;
            public String shop_name;
            public int is_self;
        }

        public int goods_id;
        public String goods_no;
        public String title;
        public String price;
        public String num;
        public String status;
        public List<String> photos;

        public static class GoodDetailBean {
            public String status;
            public List<String> photos;
            public String goods_id;

            public String goods_no;


            private String num;


            private String title;
            private String price;
            private boolean isEdit;
            private boolean isSelected;

            public boolean isEdit() {
                return isEdit;
            }

            public boolean isSelected() {
                return isSelected;
            }

            public void setIsSelected(boolean isSelected) {
                this.isSelected = isSelected;
            }

            public String getId() {
                return goods_id;
            }

            public void setId(String id) {
                this.goods_id = id;
            }


            public String getCount() {
                return num;
            }

            public void setCount(String count) {
                this.num = count;
            }


            public String getName() {
                return title;
            }

            public void setName(String name) {
                this.title = name;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public boolean isIsedit() {
                return isEdit;
            }

            public void setIsEdit(boolean isEdit) {
                this.isEdit = isEdit;
            }
        }
    }
}
